home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / tools / indent.lha / indent / Makefile.1x < prev    next >
Makefile  |  1992-07-06  |  1KB  |  50 lines

  1. # Copyright (c) 1987 Regents of the University of California.
  2. # All rights reserved.
  3. #
  4. # Redistribution and use in source and binary forms are permitted
  5. # provided that the above copyright notice and this paragraph are
  6. # duplicated in all such forms and that any documentation,
  7. # advertising materials, and other materials related to such
  8. # distribution and use acknowledge that the software was developed
  9. # by the University of California, Berkeley.  The name of the
  10. # University may not be used to endorse or promote products derived
  11. # from this software without specific prior written permission.
  12. # THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
  13. # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  14. # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  15. #
  16. #    @(#)Makefile    5.9 (Berkeley) 88/09/15
  17. #
  18. #
  19. # Makefile for OS/2 1.x by Jon Saxton, February 1992
  20.  
  21.  
  22. CFLAGS=    -FPi -G2 -W3 -Zp
  23. CC=    cl -c
  24. LN=    cl -Lp
  25. SRCS=    indent.c io.c lexi.c parse.c comment.c args.c
  26. H=    codes.h globals.h proto.h
  27. OBJS=    indent.obj io.obj lexi.obj parse.obj comment.obj args.obj
  28.  
  29. .c.obj:
  30.     $(CC) $(CFLAGS) $*.c
  31.  
  32. all: indent.exe
  33.  
  34. indent.exe: $(OBJS)
  35.     $(LN) $(OBJS) indent.def
  36. #    $(LN) $(OBJS), $@, nul,,indent.def
  37.     bind $@ /names DOSQFSATTACH
  38.  
  39. indent.obj:    indent.c $H
  40.  
  41. io.obj:        io.c globals.h proto.h
  42.  
  43. lexi.obj:    lexi.c $H
  44.  
  45. parse.obj:    parse.c $H
  46.  
  47. comment.obj:    comment.c globals.h proto.h
  48.  
  49. args.obj:    args.c globals.h proto.h
  50.